package com.xca.znb.presenter;

import com.xca.znb.entity.Goods;
import com.xca.znb.model.imodel.IMyGoods;

import java.util.List;

public class MyGoodsPresenter {
    private IMyGoods iMyGoods ;
    public MyGoodsPresenter(IMyGoods iMyGoods){
        this.iMyGoods = iMyGoods ;
    }

    public List<Goods> getGoodsOnByPhone(String phone) {
        return iMyGoods.getGoodsOnByPhone(phone);
    }

    public List<Goods> getGoodsOffByPhone(String phone) {
        return iMyGoods.getGoodsOffByPhone(phone);
    }
}
